package com.sg.service.biz.app.nb;

import cn.hutool.core.bean.BeanUtil;
import com.sg.dto.biz.app.req.*;
import com.sg.dto.biz.app.res.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;

/**
 * @author ： 手工接入方法
 * @version 1.0
 * @since 2022/5/28 15:32
 */
@Service
public class NbWeightTarget {
    /**
     * code:receptionService
     * name:M3接收权重设置异常故事文案
     * desc:undefined
     * gen by moon at 6/26/2023, 6:50:39 AM
     **/
    @Trace(operationName = "M3接收权重设置异常故事文案")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementAcceptFieldRespDto implementAcceptField(ImplementAcceptFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementAcceptFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M3约定权重父子中周期类型为父周期
     * desc:undefined
     * gen by moon at 10/21/2023, 3:24:50 PM
     **/
    @Trace(operationName = "M3约定权重父子中周期类型为父周期")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementGainInParameterFieldsRespDto implementGainInParameterFields(ImplementGainInParameterFieldsReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementGainInParameterFieldsRespDto.class);

    }

    /**
     * code:receptionService
     * name:M3约定权重为100
     * desc:undefined
     * gen by moon at 2/22/2024, 9:06:23 PM
     **/
    @Trace(operationName = "M3约定权重为100")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ObtainReceiveOutFieldRespDto obtainReceiveOutField(ObtainReceiveOutFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ObtainReceiveOutFieldRespDto.class);

    }

    /**
     * code:receptionService
     * name:M3接收入参字段
     * desc:undefined
     * gen by moon at 6/16/2024, 3:05:36 AM
     **/
    @Trace(operationName = "M3接收入参字段")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementFiveReceivingFieldRespDto implementFiveReceivingField(ImplementFiveReceivingFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementFiveReceivingFieldRespDto.class);
    }

    /**
     * code:receptionService
     * name:M3接收周期模式出参
     * desc:undefined
     * gen by moon at 6/16/2024, 3:05:56 AM
     **/
    @Trace(operationName = "M3接收周期模式出参")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    public ImplementSixReceivingFieldRespDto implementSixReceivingField(ImplementSixReceivingFieldReqDto reqDto) {
        return BeanUtil.toBean(reqDto, ImplementSixReceivingFieldRespDto.class);
    }
    //手工接入方法
}
